 if ( SERVER ) then 
   
 	AddCSLuaFile( "shared.lua" ) 
 	SWEP.HoldType = "pistol";
 
 end 

 
 SWEP.Base = "ts2_base";
   
 SWEP.Spawnable			= false 
 SWEP.AdminSpawnable		= false 

SWEP.ViewModelFlip		= true	
SWEP.CSMuzzleFlashes	= true
   
SWEP.WorldModel = "models/weapons/w_pist_p228.mdl";
SWEP.ViewModel = "models/weapons/v_pist_p228.mdl";

 SWEP.ItemWidth = 1;
 SWEP.ItemHeight = 1;

SWEP.PrintName = "Rusty P228 Handgun";
SWEP.TS2Desc = "Medium sized handgun";

 SWEP.Primary.Recoil			= .8
 SWEP.Primary.RecoilAdd			= .06
 SWEP.Primary.RecoilMin = .8
 SWEP.Primary.RecoilMax = 1.9
 SWEP.Primary.RecoverTime = .4

 SWEP.Primary.Sound = Sound("Weapon_P228.Single")

 SWEP.Primary.NumShots		= 1 
 SWEP.Primary.ClipSize = 13;
 SWEP.Primary.DefaultClip = 40;
 SWEP.Primary.Ammo = "pistol";
 SWEP.Primary.Delay = .1;
 SWEP.Primary.Damage = 6;
 SWEP.Primary.Force = 2;
SWEP.Primary.RunCone = Vector( .05, .05, 0 );
SWEP.Primary.SpreadCone = Vector( .035, .035, 0 );
SWEP.Primary.CrouchSpreadCone = Vector( .03, .03, 0 );
SWEP.Primary.ViewPunch = Angle( -0.4, 0.0, 0 );
SWEP.Primary.Automatic = false;

 SWEP.Primary.IronSightPos = Vector(4.7663, 2.9179, -4.4479);
 SWEP.Primary.IronSightAng = Vector(-0.5786, 0.0153, 0.4948);
 
 SWEP.TS2HoldType = "PISTOL";
 
SWEP.Primary.HolsteredPos = Vector( 2.8, -2.0, -2.0 );
SWEP.Primary.HolsteredAng = Vector( -15.0, 15.0, 0.0 );
   
   
SWEP.IconCamPos = Vector( 50, 139, 0 ) 
SWEP.IconLookAt = Vector( 1, -14, 1 ) 
SWEP.IconFOV = 6

SWEP.Price = 450
   